-
-
Notifications
You must be signed in to change notification settings - Fork 267
尝试修复which不存在的问题 #271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
尝试修复which不存在的问题 #271
Conversation
|
Hi @Mikachu2333, ❤️ 感谢你的贡献!你的 PR 当前基于 |
|
command命令是 POSIX 标准的一部分,所以其理应可用。 |
|
在 debian 和 manjaro 均不是理想输出 |
恰恰相反,是理想输出,你后面不跟东西就是啥都没有啊,就好像你单独运行了 |
|
我以为 -v 是 --version 的缩写,是我没认真了 |
ccmywish
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个方案很好 👍👍👍
把注释调整一下就行了


问题描述
which来检查命令的存在 #257方案与实现
换用
command -v,这玩意应该是都有的